<template>
    <div class="weddingItem">
              <div class="main" >
        <div class="lists" >
            <div class="item">
                <img src="../../assets/images/meinv1.png" alt="" class="img">
                <div class="info">
                    <div class="title">
                        <div class="name">倩儿222</div>
                        <div class="mark">收藏</div>

                    </div>
                    <div class="text">
                        倩儿美业创始人.倩儿美业高级化妆讲师.高级美甲讲师.高级纹绣讲师;苏州电视台特约化妆,亚洲美甲创意大赛总冠军啦啦啦啦
                    </div>
                    <ul class="list">
                        <li>
                            <div class="li_top">新娘造型</div>
                            <div class="li_bom">4套</div>
                        </li>
                        <li>
                            <div class="li_top">新娘造</div>
                            <div class="li_bom">4套</div>
                        </li>
                        <li>
                            <div class="li_top">新造型</div>
                            <div class="li_bom">4套</div>
                        </li>
                        <li>
                            <div class="li_top">新娘造型</div>
                            <div class="li_bom">12小时</div>
                        </li>
                    </ul>
                    <div class="price">
                        <div class="price_l">
                            ￥<strong>3680</strong>/场
                        </div>
                        <div class="price_r">
                            <div class="text" @click="active=!active">查看详情</div>
                        </div>
                    </div>
                </div>
            </div>
        
          
        </div>

    </div>
        <cover v-if="active">
 
          <template #del>
         
                  <div class="del" @click="goBack"></div>
            
          </template>
                   <template #showImg="parentName">

  
          </template>
          <template #sidebar="parentName">
              <div class="tabbar">
                       <div class="slide">
            <div class="box">
              <div class="title">
                <div class="name">
                  <div class="name-h">
                      <h3>倩儿</h3>
                          <div class="text">
                            专注、互动
                  </div>
                  </div>
                  <div class="name-mark"></div>
                </div>
              </div>
           
                </div>
                        <div class="info">
              
                <div class="vitae">
                 2010年开始从业9年,为江浙沪上千新人主持婚礼,也有近千场商业主持经验,主持人高级培训讲师等等.
                </div>
                    <div class="able">
                        <div class="list">
                          <div class="caption">资质年限</div>
                          <div class="num">9年</div>
                        </div>
                             <div class="list">
                          <div class="caption">资质年限</div>
                          <div class="num">9年</div>
                        </div>
                             <div class="list">
                          <div class="caption">资质年限</div>
                          <div class="num">9年</div>
                        </div>
                             <div class="list">
                          <div class="caption">资质年限</div>
                          <div class="num">9年</div>
                        </div>
                
                  </div>
                  <div class="price">
                    ￥<span>3680</span>/场
                  </div>
              </div>
          
              </div>
         
            </div>
          </template>
        </cover>
    </div>
</template>
<script>
import cover from "../weddingCover/weddingCoverMakeup";
export default {
  components:{
    cover
  },
  data(){
    return{
     active: false,
    }
  },
  methods:{
      goBack() {
      this.active = false;
    }
  }
};
</script>
<style>
.del {
  width: 50px;
  height: 50px;
  position: absolute;
  left: 35px;
  top: 40px;
  background-color: #121212;
}
.del::before {
  content: "\e62d";
  font-family: "iconfont";
  font-size: 16px;
  color: #fff;
  text-align: center;
  line-height: 50px;
}
.weddingItem {
  background-color: #121212;
}
.main {
  margin: 0 60px;
  height: 100%;
  background-color: #121212;
}

.main .lists {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.main .item {
  width: 31%;
  height: 240px;
  background-color: #202020;
  margin-right: 30px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
}

.main .item:nth-child(3n + 3) {
  margin-right: 0;
}

.main .item img {
  padding: 5px 17px 5px 7px;
}

.main .item .info {
  width: 100%;
  /* width: 375px; */
  height: 210px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.main .item .info .title {
  flex-basis: 45px;
  /* height: 45px; */
  margin-top: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.main .item .info .title .name {
  color: #fff;
  font-size: 18px;
}

.main .item .info .title .mark {
  width: 75px;
  height: 30px;
  background-color: #181818;
  text-align: center;
  line-height: 30px;
  border-radius: 25px;
  color: #fff;
}

.main .item .info .title .mark::before {
  content: "\e772";
  font-family: "iconfont";
  padding: 5px 4px 5px 0px;
  font-size: 16px;
}

.main .item .info .text {
  flex-basis: 35px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.main .item .info .list {
  width: 100%;
  flex-basis: 50px;
  display: flex;
  background-color: #2b2b2b;
  border-radius: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main .item .info li {
  flex: 1;
  height: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  left: -30%;
  top: 0;
  margin-left: 5px;
}

.main .item .info li::after {
  content: " ";
  position: absolute;
  border-left: 1px #9a9a9a solid;
  top: 25%;
  right: 0;
  height: 50%;
  margin-top: auto;
  margin-bottom: auto;
}
.main .item .info li:last-child::after {
  border: 0;
}
.main .item .info li .li_top {
  color: #969696;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.8px;
  -webkit-transform-origin-x: 0;
  -webkit-transform: scale(0.9);
}

.main .item .info li .li_bom {
  font-size: 8px;
  -webkit-transform-origin-x: 0;
  -webkit-transform: scale(0.9);
  color: #fefefe;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main .item .info .price {
  flex-basis: 30px;
  display: flex;
  justify-content: space-between;
}

.main .item .info .price .price_l {
  color: #fafafa;
  font-size: 12px;
  line-height: 30px;
}
.main .item .info .price .price_l strong {
  font-size: 16px;
}

.main .item .info .price .price_r {
  width: 100px;
  height: 30px;

  background-color: #e9e8e9;

  border-radius: 15px;

  position: relative;
}
.main .item .info .price .price_r .text {
  font-size: 12px;
  color: #222;
  text-align: center;
  line-height: 30px;
  padding-left: 15px;
}
.main .item .info .price .price_r::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  position: absolute;
  top: 3px;
  left: 5px;
  background: url("../../assets/images/arrow.png") no-repeat;
}
.tabbar .slide {
  margin: 60px 40px 0 40px;
  background-color: #202020;
}

.tabbar .box .name {
  display: flex;
  justify-content: space-between;
}
.tabbar .box .name .name-h h3 {
  font-size: 20px;
  color: #fff;
}
.tabbar .box .name .name-h .text {
  color: #fff;
  border: 1px solid #ccc;
  background-color: #202020;
  font-size: 10.8px;
  -webkit-transform-origin-x: 0;
  -webkit-transform: scale(0.9);
  padding: 1px;
}
.tabbar .box .name-mark::after {
  content: "\e772";
  font-family: "iconfont";
  color: red;
  font-size: 20px;
}

.tabbar .info {
  width: 100%;
  height: 100%;
  margin-top: 40px;
}
.tabbar .info .able{
  height: 45px;
  width: 100%;
  margin-top: 20px;
background-color: #2B2B2B;
display: flex;
justify-content: space-between;
}
.tabbar .info .able .list{
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 10.8px;
  -webkit-transform-origin-x: 0;
  -webkit-transform: scale(0.9);
  padding-top: 5px;
}
/* .tabbar .info .able .list::after{
  content:"|";
  font-size: 5px;
  color: red;
} */
.tabbar .info .able .list .caption{
  color: #ccc;
}
.tabbar .info .able .list .num{
  font-size: 14px;
  color: #fff;
}
.tabbar .info .price{
  margin-top: 20px;
font-size: 12px;
 color: #fff;
}
.tabbar .info .price span{
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.tabbar .vitae {
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
}
</style>

